package DesignPattern.PrototypePattern.demo1;

/**
 * Created by User on 2017/12/18.
 */
public class DailyLog implements Cloneable{
    String name;
    String content;


    @Override
    protected DailyLog clone() throws CloneNotSupportedException {
        Object object = super.clone();

        return (DailyLog) object;
    }

    public String getName() {
        return name;
    }

    public DailyLog setName(String name) {
        this.name = name;
        return this;
    }

    public String getContent() {
        return content;
    }

    public DailyLog setContent(String content) {
        this.content = content;
        return this;
    }

}
